package com.study.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author king james
 * @create 2021-09-13-{TIME}
 */
@Mapper
public interface EchartsMapper {
    /*用户数量*/
    int queryUserCount();

    /*角色数量*/
    int queryRoleCount();

    /*资源数量*/
    int queryResourcesCount();

    /*日志数量*/
    int queryLogCount();

    /*各个角色用户数量*/
    int RoleUserCount(@Param("roleId") Integer roleId);

}
